<?php
class InvestchangeModel extends RelationModel {
	protected $_link = array(
			'project'=> array(  
			'mapping_type'=>BELONGS_TO,
			'class_name'=>'Project',
			'foreign_key'=>'project_pid',		
			'parent_key'=>'pid',
			'as_fields'=>'pname',
			
			),
           
         );
}
?>